package koction.model.question;

import java.sql.SQLException;
import java.util.HashMap;
import java.util.List;

import koction.model.consumer.ConsumerVO;
import koction.model.seller.SellerVO;

public interface QuestionBoardDao {

	public List<QuestionBoardVO> getQuestionBoardList(String pageNo) throws SQLException;

	public int totalContent() throws SQLException;

	public int writeQuestion(QuestionBoardVO qvo) throws SQLException;

	public QuestionBoardVO showContent(int no) throws SQLException;

	public void updateCount(HashMap<String, Integer> map) throws SQLException;

	public void deleteQuestionBoard(int no) throws SQLException;
	
	public void deleteSellerQuestionBoard(SellerVO svo) throws SQLException;

	public void updateQuestionBoard(QuestionBoardVO qvo) throws SQLException;
 
	public void updateRestep(int ref, int restep) throws SQLException;
	
	public int writeReplyQuestionBoard(QuestionBoardVO qvo) throws SQLException;

	public String getReplyId(QuestionBoardVO qvo) throws SQLException;

	public String replyCheck(String ref) throws SQLException;

	public void deleteReplyQuestion(ConsumerVO cvo) throws SQLException;

}
